package com.hk.service.impl;

import org.springframework.stereotype.Service;

import com.hk.commons.LongId;
import com.hk.commons.entity.FundInfo_Yimi;
import com.hk.dao.base.impl.BaseServiceImpl;
import com.hk.service.IFundInfo_Yimi;

@Service
public class FundInfo_YimiImpl extends BaseServiceImpl<FundInfo_Yimi> implements IFundInfo_Yimi{
	
	@Override
	public FundInfo_Yimi findById(String id) {
		
		return getById(id);
	}

	@Override
	public String add(FundInfo_Yimi model) {
		model.setCreatedts(System.currentTimeMillis());
		super.save(model);
		
		return model.getFundCode();
	}

	
}
